﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassLibrary.SignalType.SynchronousTransportModuleLevel1.VirtualContainer
{
    [Serializable]
    public class Vc : VirtualContainer
    {
        public Vc(VCType vcType, DataPackage dataPackage)
        {
            _vcType = vcType;
            _dataPackage = dataPackage;
        }

        public override string ToString()
        {
            var stringBuilder = new StringBuilder();

            stringBuilder.AppendLine("[VcType]");
            stringBuilder.AppendLine(VcType.ToString());
            stringBuilder.AppendLine("[Poh]");
            stringBuilder.AppendLine(Poh);
            stringBuilder.AppendLine("[DataPackage]");
            stringBuilder.AppendLine(_dataPackage.ToString());

            return stringBuilder.ToString();
        }
    }
}
